﻿using System.Text.RegularExpressions;

namespace Keleyi.KFrame.KText
{
    public class KeleyiHtmlHelper
    {

        /// <summary>
        /// 清除文本HTML码 keleyi.com
        /// </summary>
        public static string  RemoveHtmlTag(string htmlStr)
        {
            if (string.IsNullOrEmpty(htmlStr))
                return string.Empty;
            return Regex.Replace(htmlStr, @"<[^>]*>", "");
        }

    }
}